package com.xigua.chapter_2_adapter.example;

/**
 * @author LiRongHua
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2022/3/2618:01
 */
public class Banner {

    private String banner;

    public Banner(String banner) {
        this.banner = banner;
    }

    public void showWithParen(){
        System.out.println("("+banner+")");
    }

    public void showWithAster(){
        System.out.println("*"+banner+"*");
    }

}
